﻿using System;
using System.Collections.Generic;
using System.Text;

using RaisingStudio.Data.Common;
using RaisingStudio.Data.Expressions;
using RaisingStudio.Data.Common.Factories;
using RaisingStudio.Data.Providers.Adapters;

namespace RaisingStudio.Data.Providers
{
    public partial class RelationObjectProvider : DataProvider
    {
        #region Constructor
        /// <summary>
        /// Constructor
        /// </summary>
        public RelationObjectProvider()
        {
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="connection">database connection.</param>
        public RelationObjectProvider(System.Data.IDbConnection connection)
            : base(connection)
        {
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="transactionManager">database transaction manager.</param>
        public RelationObjectProvider(TransactionManager transactionManager)
            : base(transactionManager)
        {
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="connectionName">the name of connection.</param>
        public RelationObjectProvider(string connectionName)
            : base(connectionName)
        {
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="databaseType">database type.</param>
        /// <param name="connectionString">connection string.</param>
        public RelationObjectProvider(DatabaseType databaseType, string connectionString)
            : base(databaseType, connectionString)
        {
        }

        public RelationObjectProvider(string providerName, string connectionString)
            : base(providerName, connectionString)
        {
        }
        #endregion
    }
}
